package com.atguigu.business.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: change
 * @Date: 2025/04/15 17:25
 */
@FeignClient(value = "seata-order")
public interface OrderFeignClient {
	@GetMapping("/create")
	public String create(@RequestParam("userId") String userId,
	                     @RequestParam("commodityCode") String commodityCode,
	                     @RequestParam("count") int orderCount);
}
